package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.Room;

@Component("roomDAO")
public interface RoomMapper {

	public List<Room> getRoom(@Param("buildingId")int buildingId);
	public Room getRoomById(@Param("id")int id);
}
